home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
graphics
/
3dvect37.zip
/
TANK.INC
< prev
next >
Wrap
Text File
|
1994-06-22
|
6KB
|
182 lines
bc equ 1 ; body colour
tc equ 2 ; tank colour
turret dd -1
dd offset hturret - offset $ - 4
hturret dw 35
dw 16 ; set to 16 to remove bottom, 17 if present
dw 25 dup (?)
; x y z
dw 24*5, 0*5,-40 *5 ;1 ; turret base
dw 46*5, 0*5, 0 *5 ;2
dw 30*5,-20*5, 0 *5 ;3
dw 16*5,-20*5,-30 *5 ;4
dw -28*5,-20*5,-30 *5 ;5
dw -12*5, 0*5,-40 *5 ;6
dw 24*5, 0*5, 40 *5 ;7
dw 16*5,-20*5, 30 *5 ;8
dw -12*5, 0*5, 40 *5 ;9
dw -28*5,-20*5, 30 *5 ;10
dw -12*5, 0*5,-50 *5 ;11; turret
dw -12*5, 0*5, 60 *5 ;12
dw -28*5,-20*5,-50 *5 ;13
dw -28*5,-20*5, 60 *5 ;14
dw -48*5,-20*5,-50 *5 ;15
dw -48*5,-20*5, 60 *5 ;16
dw -64*5, 0*5,-50 *5 ;17
dw -64*5, 0*5, 60 *5 ;18
dw 10*5, 0*5,-50 *5 ;19; box at back of turret
dw 0*5,-20*5,-50 *5 ;20
dw 0*5,-20*5,-80 *5 ;21
dw 10*5, 0*5,-96 *5 ;22
dw -74*5,-20*5,-50 *5 ;23
dw -82*5, 0*5,-50 *5 ;24
dw -82*5, 0*5,-96 *5 ;25
dw -74*5,-20*5,-80 *5 ;26
dw -20*5, 0*5, 60 *5 ;27; main gun
dw -32*5,-12*5, 60 *5 ;28
dw -44*5,-12*5, 60 *5 ;29
dw -56*5, 0*5, 60 *5 ;30
dw -20*5, 0*5,210 *5 ;31
dw -32*5,-12*5,210 *5 ;32
dw -44*5,-12*5,210 *5 ;33
dw -56*5, 0*5,210 *5 ;34
dw -28*5,-100*5,-50*5 ;35; antenna
;turret base
dw 0,shade,0,16*bc,0 ,1,2,3,4,1 ,?,?,?
dw 0,shade,0,16*bc,0 ,6,1,4,5,6 ,?,?,?
dw 0,shade,0,16*bc,0 ,2,7,8,3,2 ,?,?,?
dw 0,shade,0,16*bc,0 ,7,9,10,8,7 ,?,?,?
;turret
dw 0,shade,0,16*bc,0 ,10,9,12,14,10 ,?,?,?
dw 0,shade,0,16*bc,0 ,11,6,5,13,11 ,?,?,?
dw 0,shade,0,16*bc,0 ,15,16,18,17,15 ,?,?,?
dw 0,shade,0,16*bc,0 ,31,32,28,27,31 ,?,?,?
dw 0,shade,0,16*bc,0 ,33,34,30,29,33 ,?,?,?
dw iterate,shade,0,16*bc,0 ,20,19,11,13,20 ,?,?,?
dw 0,2
dw 25 dup (0)
dw both,last,0,16*bc,0 ,17,24,23,15,17
dw iterate,last,0,16*bc,0 ,27,28,14,12,27
dw 0,3
dw 25 dup (0)
dw both,last,0,16*bc,0 ,28,29,16,14,28
dw both,last,0,16*bc,0 ,29,30,18,16,29
dw 0 ,last,0,16*bc,0 ,34,33,32,31,34
dw iterate,shade,0,16*bc,0 ,32,33,29,28,32 ,?,?,?
dw 0,1
dw 25 dup (0)
dw iterate,last,0,16*bc,0 ,13,14,16,15,13
dw 0,2
dw 25 dup (0)
dw both,last,0,16*bc,0 ,3,8,10,5,4,3
dw both,last,0,16*bc,0 ,21,20,23,26,21
;box at back of turret
dw 0,shade,0,16*bc,0 ,19,20,21,22,19 ,?,?,?
dw 0,shade,0,16*bc,0 ,22,21,26,25,22 ,?,?,?
dw 0,shade,0,16*bc,0 ,25,26,23,24,25 ,?,?,?
dw 0,0,0,16*bc+8,0 ,35,13,35
;bottom of turret
dw iterate,shade,0,16*bc,0 ,1,6,9,7,2,1 ,?,?,?
dw 0
dw 3
dw 25 dup (0)
dw both,last,0,16*bc,0 ,11,17,18,12,11
dw both,last,0,16*bc,0 ,19,22,25,24,19
dw both,last,0,16*bc,0 ,27,30,34,31,27
; side treads of tank, a=front, bcdefg like so:
;
; c__________b
; d / -_a so how do YOU draw a
; | _- tank in ascii?
; e \_________-
; f g
;
; < 140 -22 0 > a y offset is +34. therefore, tank body location is
; < 79 -32 11 > b the same as turret location with 34 added to y.
; < -49 -32 11 > c do not change data to pre-add and remove y add as
; < -78 -22 0 > d this will affect the ability to sort the tank and
; < -78 0 0 > e turret and draw the turret first (if looking from
; < -41 32 11 > f top)
; < 73 32 11 > g
;
; < 110 -14 49 > m
; ±m are points at front of tank
align 16
ltank:
htank dw 16
dw 18
dw 25 dup (?)
dw 50,-15, 190; 1a ; tread, right side
dw 60,-32, 100; 2b
dw 60,-32, -55; 3c
dw 50,-15, -88; 4d
dw 50, 6, -88; 5e
dw 60, 31, -52; 6f
dw 60, 31, 80; 7g
dw -100,-15, 190; 8a ; tread, left side
dw -110,-32, 100; 9b
dw -110,-32, -55;10c
dw -100,-15, -88;11d
dw -100, 6, -88;12e
dw -110, 31, -52;13f
dw -110, 31, 80;14g
dw 0,-12, 148;15mr
dw -59,-12, 148;16ml
dw 1,16*tc+7,?,?,1,2,7,1 ; tread, left side
dw 1,16*tc+2,?,?,2,3,6,7,2
dw 1,16*tc+12,?,?,6,3,4,5,6
dw 1,16*tc+3,?,?,8,14,9,8 ; tread, right side
dw 1,16*tc+12,?,?,9,14,13,10,9
dw 1,16*tc+7,?,?,13,12,11,10,13
dw 128,16*bc,?,?,2,9,10,3,2 ,?,?,? ; body
dw 128,16*bc,?,?,15,16,9,2,15 ,?,?,?
dw 128,16*bc,?,?,1,15,2,1 ,?,?,?
dw 128,16*bc,?,?,8,9,16,8 ,?,?,?
dw 128,16*bc,?,?,3,10,11,4,3 ,?,?,?
dw 128,16*bc,?,?,11,12,5,4,11 ,?,?,?
dw 128,16*bc,?,?,12,13,6,5,12 ,?,?,?
dw 128 ,16*bc,?,?,15,1,7,15 ,?,?,? ; bottom forks
dw 4096,16*bc,?,?,15,7,6,15
dw 128 ,16*bc,?,?,16,14,8,16 ,?,?,?
dw 4096,16*bc,?,?,14,16,13,14
dw 128,16*bc,?,?,15,6,13,16,15 ,?,?,? ; bottom